package club.emergency.wechat.ranking.operate;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * Create with IntelliJ IDEA
 * Project Name: wechat
 * Package Name: club.emergency.wechat.ranking_list.operate
 * Date: 2019/2/25
 *
 * @author: 快乐的小菌菌
 * Description:
 */
public interface RankingOperate {

    /**
     * 分数增量
     *
     * @param staffId 人员id
     * @param score   分数
     * @return 以字符串形式返回
     */
    @PostMapping("/ranking-operate-provider/incrementScore")
    String incrementScore(@RequestParam("staffId") Long staffId, @RequestParam("score") Integer score);
}
